package com.ohos.connect.devicecloud.iot.modular.device.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * 申请设备注册验证码参数
 *
 * @author Dongtao
 * @date  2024/12/17 10:43
 **/
@Getter
@Setter
public class DeviceRegisterCodeDTO {
    /** 项目ID */
    @ApiModelProperty(value = "项目ID", position = 2)
    @NotBlank(message = "项目id不能为空!")
    private String projectId;

    /** 产品id */
    @ApiModelProperty(value = "产品id", position = 5)
    @NotBlank(message = "产品id不能为空!")
    private String productId;

    /** 注册类型 */
    @ApiModelProperty(value = "注册类型", position = 3)
    private String registryType;

    /** 设备唯一SN号 */
    @ApiModelProperty(value = "设备唯一SN号", position = 4)
    private String sn;

    /** 设备唯一 */
    @ApiModelProperty(value = "true标识校验码设备去重，默认false", position = 5)
    private Boolean uniqueDeviceId;

}
